﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace TCM
{
[Serializable] 
     public partial class CalendarBase
    {
        #region Variables
        string _CourseName;
        DateTime _StartOfDayDateTime;
        int _CourseId;
        DateTime _EndOfDayDateTime;

        #endregion
        public int CourseId
        {
            get { return _CourseId;  }
            set { _CourseId = value; }
        }

        public string CourseName
        {
            get { return _CourseName; }
            set { _CourseName = value; }
        }

        public DateTime StartOfDayDateTime
        {
            get { return _StartOfDayDateTime; }
            set { _StartOfDayDateTime = value; }
        }

        public DateTime EndOfDayDateTime
        {
            get { return _EndOfDayDateTime; }
            set { _EndOfDayDateTime = value; }
        }


    }
    //public class Calendars
    //{
    //    public Calendars()
    //    {
    //        _CollectionnCalendars = new List<CalendarBase>();
    //        _CollectionnCalendars.Add(
    //            new CalendarBase()
    //            {
    //                CourseId = Guid.NewGuid(),
    //                CourseName = "sameh",
    //                StartOfDayDateTime = DateTime.Now,
    //                EndOfDayDateTime = DateTime.Now.AddHours(2)
    //            }
    //    );

    //        _CollectionnCalendars.Add(
    //         new CalendarBase()
    //         {
    //             CourseId = Guid.NewGuid(),
    //             CourseName = "sameh",
    //             StartOfDayDateTime = DateTime.Now.AddDays(1),
    //             EndOfDayDateTime = DateTime.Now.AddDays(1). AddHours(2)
    //         }
    // );
    //    }

    //    List<CalendarBase> _CollectionnCalendars;

    //    public List<CalendarBase> CollectionnCalendars
    //    {
    //        get { return _CollectionnCalendars; }
            
    //    }

    //}
}